package com.antoco.controlcenter.comm.commLink;

import java.util.concurrent.ExecutorService;

public interface ICommLink {
    boolean isConnected(); //连接状态
    boolean connect(String commString); //连接方法
    boolean disConnect(); //断开连接方法
    void setCommEventListener(ICommEventListener commEventListener);
    boolean dataTransmit(byte[] buffer); //发送数据
    boolean FrameTransmit(Object frame); //发送帧方法
}
